package com.lyt.service;

import com.lyt.bean.Course;
import com.lyt.dao.CourseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @Author: zjx
 * @Date: 2023/04/27/20:03
 * @Description:
 */
@Service
public class CourseService {

    @Autowired
    CourseDao courseDao;

    public List<Course> getAllCourse(){
        return courseDao.getAllCourse();
    }
}
